;; load various modules
(load-file "~/.emacs.d/modules/xcscope.el")
(load-file "~/.emacs.d/modules/log4cpp.el")
(load-file "~/.emacs.d/modules/tail.el")

;; cedet
(load-file "~/.emacs.d/modules/cedet-1.0pre7/common/cedet.el")
(require 'ede)
(global-ede-mode t)

;; yasnippet
(add-to-list 'load-path "~/.emacs.d/modules/yasnippet-0.6.1c")
(require 'yasnippet)
(yas/load-directory "~/.emacs.d/modules/yasnippet-0.6.1c/snippets")

;; doc-mode
(require 'doc-mode)
(add-hook 'c-mode-common-hook 'doc-mode)

;; company
(add-to-list 'load-path "~/.emacs.d/modules/company")
(autoload 'company-mode "company" nil t)

